Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparations of deep tau ID for hlt phase2 (backport to CMSSW_11_1_X) #32831

Conversation

swozniewski
Copy link
Contributor

@swozniewski swozniewski commented Feb 5, 2021

PR description:

Backports #30761 #31744 #32676 #32838 in order to have DeepTauID developments available for phase2 HLT TDR

Prepare DeepTauID such that it can run on AOD inputs and be used within HLT sequences.
#30761 was some central clean up that interferes with the other two PRs. For convenience and consistent state of the code it is included.

PR validation:

  • code checks, format passed
  • unit tests passed
  • limited matrix tests passed

JamminJones and others added 30 commits January 18, 2021 11:08
- input tokens for candidates and taus now use base classes
- taus and candidates accessed by dynamic_cast and edm::View
- is_online boolean in fillDescriptions
- Electron and muon collections empty if is_online
- Changed some quantities with functions that calculate quantity differently depending on the input
Removed 2 leftover comments
- Ran "scram build code-checks" and "scram build code-format"
- Implemented the new container format. For now the indices of the discriminators are given as inputs in the config file. I will look into using provenance
- Switched order of the if statements (for is_online and version checks) in the getPredictions function
- turned tau_index to const
…nc to edm::Handle instead of the vector. The way it was before worked in pre3 but switching to pre5 broke that.
- Change TauRefType to edm::RefToBase<reco::BaseTau>
- Added, removed and changed some option for the basicDiscriminators in the deepTauAtHLT.py config file to be more in line with RecoTauTag/Configuration/HPSPFTaus_cff.py
- added option to save all input variables to JSON file (this feature allows to compare the input variables in C++ vs python/during the DeepTau training)
…x for accessing the grid of low-level variables
…d" to true

in ParameterSet description (true restores the old behaviour of the code)
@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 5, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9586d4/12741/summary.html
COMMIT: 541726e
CMSSW: CMSSW_11_1_X_2021-01-31-0000/slc7_amd64_gcc820
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/32831/12741/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2784828
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2784777
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 31 edm output root files, 36 DQM output files

Comment on lines -19 to +20
reco::Candidate::Point PositionAtECalEntranceComputer::operator()(const reco::Candidate* particle, bool& success) const {
reco::Candidate::Point PositionAtECalEntranceComputer::operator()(const reco::Candidate* particle,
bool& success) const {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not a part of the listed PRs used for backport.
Apparently, the change is coming from
https://github.com/cms-sw/cmssw/pull/30571/files#diff-225356b5230d327db61da9f1a9a6514e03ec42126c806f2a46fc54c97a7a64ebL19-R20

it seems acceptable to include though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is rather this commit 9457485 which is probably not backported but where I applied the code-format at some point. Sorry for the confusion!

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2021

Pull request #32831 was updated. @perrotta, @Martin-Grunewald, @slava77, @cmsbuild, @fwyzard, @jpata can you please check and sign again.

@perrotta
Copy link
Contributor

perrotta commented Feb 8, 2021

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9586d4/12758/summary.html
COMMIT: 6834218
CMSSW: CMSSW_11_1_X_2021-02-07-0000/slc7_amd64_gcc820
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/32831/12758/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2784828
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2784776
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 31 edm output root files, 36 DQM output files

@fwyzard
Copy link
Contributor

fwyzard commented Feb 9, 2021

+hlt

The only HLT specific change is the addition of a customisation function.

@fwyzard
Copy link
Contributor

fwyzard commented Feb 9, 2021

@slava77 @perrotta is this good for RECO ?

@slava77
Copy link
Contributor

slava77 commented Feb 9, 2021

+1

for #32831 6834218

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 9, 2021

This pull request is fully signed and it will be integrated in one of the next CMSSW_11_1_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_11_3_X is complete. This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Feb 10, 2021

+1

@cmsbuild cmsbuild merged commit d7e5468 into cms-sw:CMSSW_11_1_X Feb 10, 2021
@mbluj mbluj deleted the CMSSW_11_1_X_tau-pog_DeepTauIDforHLT_backport branch October 10, 2023 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants